<?php

namespace common\models;

use Yii;
use \common\models\base\DictionaryType as BaseDictionaryType;

/**
 * This is the model class for table "dictionary_type".
 */
class DictionaryType extends BaseDictionaryType
{
    /**
     * @inheritdoc
     */
    public function rules()
    {
        return array_replace_recursive(parent::rules(),
	    [
            [['code'], 'required'],
            [['order_num', 'customizable'], 'integer'],
            [['code', 'name'], 'string', 'max' => 45]
        ]);
    }
	
}
